package me.sdau.spider.manager.modules.system.service;

import me.sdau.spider.manager.modules.system.entity.User;

/**
 * @author zj
 * @date 2018/4/8 19:06
 */
public interface UserService {

    User getUserById(long id);

    User getUserByUsername(String username);

    int insertUser(User user);

    int insertUserRole(User user);

}
